import requset from '../utils/requset'

// 用户登录 // requset.请求方式（接口地址，参数）
export const login = data => requset.post('/authorizations',data)
export const Code = data => requset.get(`/sms/codes/${data}`)
export const User = data => requset.get(`/user`,data)
//编辑用户
export const Profile = data => requset.get(`/user/profile`,data)
